package bdzeitor;

import view.TelaPrincipal;

public final class Singleton {
    private static final TelaPrincipal tela = new TelaPrincipal();

    public Singleton(String id, String nome, String cargo, String senha) {
        tela.setLogado(id, nome, cargo, senha);
    }
    
    public static TelaPrincipal getInstance(){
        return tela;
    }
}
